PyBaobabDT

Description: The pybaobabdt package provides a python implementation for the visualization of decision trees. The technique is based on the scientific paper BaobabView: Interactive construction and analysis of decision trees developed by the TU/e. https://pypi.org/project/pybaobabdt/
Description: Due to incompatibility with our catboost model, a scikit model trained on sample data (taken from https://pypi.org/project/pybaobabdt/ ) to visualize decision tree was used.
Description: Visualization shows data streams flowing across each node displaying concerned split feature and threshold (each class is represented by a color, the width of the link represents the number of items flowing from one node to the other). Although the visualization solution provided by the pybaobab library fully meets the need to see data flows flowing through the model structure, it is not compatible with catboost models.
Description: Also, trees from a RandomForest classifier can be visualized: